package gui.perspective;

import gui.view.ServerView;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class ServerPerspective implements IPerspectiveFactory {
	public static final String ID = "gui.perspective.ServerPerspective";

	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);

		layout.addStandaloneView(ServerView.ID, false, IPageLayout.LEFT, 1f,
				editorArea);
		layout.getViewLayout(ServerView.ID).setCloseable(false);
	}
}
